package com.wcs.exam.controller.admin.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * Admin-菜单角色关联表-保存-请求参数
 * </p>
 *
 * @author wcs
 * @since 2024-07-06
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Admin-菜单角色关联表-保存-请求参数")
public class AdminSysMenuRoleSaveReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "system.sys.menu.role.role.id.not.null")
    @Schema(description = "角色ID")
    private Long roleId;

    @Schema(description = "菜单ID集合")
    private List<Long> menuIdList;
}
